package com.yonyou.pmclouds.visitcard.entity;

import com.yonyou.pmclouds.basecom.entity.SuperVO;
import lombok.Getter;
import lombok.Setter;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.math.BigDecimal;
import java.util.Date;

@Table(name = "pm_visitcard")
@Setter
@Getter
public class VisitCardVO extends SuperVO {

    @Id
    private String pkVisitcard;
    // 参观单位
    private String visitDept;
    // 参观人
    private String visitPerson;
    // 参观日期
    private Date visitDate;
    // 参观寄语
    private String visitComment;
    // 图片
    @Transient
    private String[] pictures;
    // 打印模版图片地址
    @Transient
    private String pictureAddress;
    // 参观日期字符串，打印模版用
    @Transient
    private String strVisitDate;

    /*** 通用字段 **/
    private String pkTenant;
    private String creator;
    private Date creationtime;
    private String modifier;
    private Date modifytime;
    // 经度
    private BigDecimal longitude;
    // 纬度
    private BigDecimal latitude;
    // 位置信息
    private String position;


}
